{
 "cells": [
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-13T14:36:36.362064Z",
     "start_time": "2025-03-13T14:36:36.342445Z"
    }
   },
   "cell_type": "code",
   "source": [
    "# Load the TensorBoard notebook extension\n",
    "%load_ext tensorboard"
   ],
   "id": "5ffe53e307f92820",
   "outputs": [],
   "execution_count": 1
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-13T14:36:38.282780Z",
     "start_time": "2025-03-13T14:36:38.279225Z"
    }
   },
   "cell_type": "code",
   "source": [
    "#import tensorflow as tf\n",
    "import datetime, os"
   ],
   "id": "673b9b37b1a33701",
   "outputs": [],
   "execution_count": 2
  },
  {
   "metadata": {
    "jupyter": {
     "is_executing": true
    },
    "ExecuteTime": {
     "start_time": "2025-03-13T14:36:40.341247Z"
    }
   },
   "cell_type": "code",
   "source": "import tensorflow as tf",
   "id": "dedfcdec652cde60",
   "outputs": [],
   "execution_count": null
  },
  {
   "metadata": {
    "jupyter": {
     "is_executing": true
    },
    "ExecuteTime": {
     "start_time": "2025-03-27T13:07:18.676771Z"
    }
   },
   "cell_type": "code",
   "source": [
    "import matplotlib.pyplot as plt\n",
    "\n",
    "# 数据准备（按占比从大到小排序）\n",
    "labels = [\"阅读理解\", \"听说考试\", \"书面表达\", \"短文填空\", \"语法选择\", \"完型填空\", \"回答问题\"]\n",
    "sizes = [22.08, 20.55, 8.66, 6.40, 5.68, 5.72, 4.28]\n",
    "colors = [\"#FF6B6B\", \"#4ECDC4\", \"#45B7D1\", \"#96CEB4\", \"#FFEEAD\", \"#FF9999\", \"#D4A5A5\"]\n",
    "\n",
    "plt.figure(figsize=(10, 7))\n",
    "plt.pie(sizes, labels=labels, colors=colors, autopct=\"%1.1f%%\", startangle=90)\n",
    "plt.axis(\"equal\")  # 保持圆形\n",
    "plt.title(\"考试部分分值占比分布图（总分73.95）\")\n",
    "plt.show()"
   ],
   "id": "5e310e3b665927d9",
   "outputs": [],
   "execution_count": null
  },
  {
   "metadata": {},
   "cell_type": "code",
   "outputs": [],
   "execution_count": null,
   "source": "print(1)",
   "id": "e9ad4a951337924"
  },
  {
   "metadata": {},
   "cell_type": "code",
   "outputs": [],
   "execution_count": null,
   "source": "",
   "id": "a46dcf50cacbb9f8"
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "tensorflow",
   "language": "python",
   "name": "tensorflow"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
